﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlyingHat.Common.Helper
{
    public static class RegularHelper
    {
        /// <summary>
        /// 数字字母组合
        /// </summary>
        public const string UserName = @"^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,24}$";
        /// <summary>
        /// 手机号
        /// </summary>
        public const string Phone = @"^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$";

    }
}
